package com.yida.gwj.expend.outside.domain.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDate;
import java.util.List;

/**
 * 决算费用分摊清册request
 *
 * @author wkz
 * @date 2023/03/29
 */
@ApiModel(description = "决算费用分摊清册request")
public class TotalCostShareListRequest {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "分摊清册保存时间")
    private LocalDate saveTime;
    @ApiModelProperty(value = "保存内容列表")
    private List<SaveContent> saveContentList;
    /**
     * 保存内容
     *
     * @author wkz
     * @date 2023/04/07
     */
    public static class SaveContent {
        @ApiModelProperty(value = "房屋标识码")
        private String houseCode;
        @ApiModelProperty(value = "分摊清册备注")
        private String remark;

        public String getHouseCode() {
            return houseCode;
        }

        public void setHouseCode(String houseCode) {
            this.houseCode = houseCode;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }
    }


    public LocalDate getSaveTime() {
        return saveTime;
    }

    public void setSaveTime(LocalDate saveTime) {
        this.saveTime = saveTime;
    }

    public List<SaveContent> getSaveContentList() {
        return saveContentList;
    }

    public void setSaveContentList(List<SaveContent> saveContentList) {
        this.saveContentList = saveContentList;
    }

    @Override
    public String toString() {
        return "TotalCostShareListRequest{" +
                ", saveTime=" + saveTime +
                '}';
    }

}
